package com.macro.mall.mapper;

import com.macro.mall.model.SpsPullTaskTemplateMid;
import com.macro.mall.model.SpsPullTaskTemplateMidExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SpsPullTaskTemplateMidMapper {
    long countByExample(SpsPullTaskTemplateMidExample example);

    int deleteByExample(SpsPullTaskTemplateMidExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SpsPullTaskTemplateMid record);

    int insertSelective(SpsPullTaskTemplateMid record);

    List<SpsPullTaskTemplateMid> selectByExample(SpsPullTaskTemplateMidExample example);

    SpsPullTaskTemplateMid selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SpsPullTaskTemplateMid record, @Param("example") SpsPullTaskTemplateMidExample example);

    int updateByExample(@Param("record") SpsPullTaskTemplateMid record, @Param("example") SpsPullTaskTemplateMidExample example);

    int updateByPrimaryKeySelective(SpsPullTaskTemplateMid record);

    int updateByPrimaryKey(SpsPullTaskTemplateMid record);
}